package com.sync.utils.project.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sync.utils.common.base.service.BaseService;
import com.sync.utils.project.demo.pojo.JHApiResult;
import com.sync.utils.project.demo.pojo.JokeDto;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface JokeService extends BaseService<JokeDto> {

    List<JokeDto> getJokeList();

    IPage<JokeDto> getJokeIPage(HttpServletRequest request,Integer page,Integer pageSize);

    int saveJokeForNet();

    JHApiResult getJokeForNet();

}
